package com.yxuan.springboot.model;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * 
 * @author zchao
 *    SchoolScore实体类
 * @date 2023-06-05 19:58:20
 */
@Data
@ApiModel(description = "")
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler" })
public class SchoolScore implements Serializable{

	  private static final long serialVersionUID = 1L;
	
	  @ApiModelProperty(value = "")
	  private Integer id;
	  @ApiModelProperty(value = "大学id")
	  private Integer schoolId;
	  @ApiModelProperty(value = "大学名")
	  private String schoolName;
	  @ApiModelProperty(value = "平均分")
	  private String averageScore;
	  @ApiModelProperty(value = "最低分")
	  private Double lowestScore;
	  @ApiModelProperty(value = "最低位次")
	  private Integer lowestOrder;
	  @ApiModelProperty(value = "省控线")
	  private String provincialLine;
	  @ApiModelProperty(value = "对应省份")
	  private String province;
	  @ApiModelProperty(value = "对应省份id")
	  private Integer provinceId;
	  @ApiModelProperty(value = "分数年份")
	  private String scoreYear;
	  @ApiModelProperty(value = "选科要求")
	  private String checkNeed;
	  @ApiModelProperty(value = "录取批次")
	  private String admissionBatch;
	  @ApiModelProperty(value = "批次类型")
	  private String lotType;
	@ApiModelProperty(value = "招生类型")
	private String schoolLotType;
	@ApiModelProperty(value = "专业组")
	private String professionalGroup;


	  // 数据库没有的字段
	Integer rate;

	public SchoolScore() {
	}

	public SchoolScore(Integer id, Integer schoolId, String schoolName, String averageScore, Integer lowestScore, Integer lowestOrder, Double provincialLine, String province, Integer provinceId, String scoreYear, String checkNeed, String admissionBatch, String lotType, String school_lot_type, String professional_group) {
		this.id = id;
		this.schoolId = schoolId;
		this.schoolName = schoolName;
		this.averageScore = averageScore;
		this.lowestScore = Double.valueOf(lowestScore);
		this.lowestOrder = lowestOrder;
		this.provincialLine = String.valueOf(provincialLine);
		this.province = province;
		this.provinceId = provinceId;
		this.scoreYear = scoreYear;
		this.checkNeed = checkNeed;
		this.admissionBatch = admissionBatch;
		this.lotType = lotType;
		this.schoolLotType = school_lot_type;
		this.professionalGroup = professional_group;
	}
}
